<!DOCTYPE html> 
<html lang="en"> 
<head> 
    <meta charset="utf-8"> 
    <meta name="viewport" content="width=device-width, initial-scale=1"> 
    <title>基本信息</title> 
    <link href="${ctx}/statics/css/base.css" rel="stylesheet">
    <link rel="stylesheet" href="${ctx}/statics/css/uimaker/easyui.css">
    <link href="${ctx}/statics/css/basic_info.css" rel="stylesheet">
</head> 
<body>
	<div class="container">
		<div class="content">
			<form id="form0" action="${ctx}/order/save" method="post">
			<input type="hidden" name="id" value="${order.id}"/>
			<div class="easyui-tabs1" style="width:100%;">
		      <div title="基本信息" data-options="closable:false" class="basic-info">
		      	<div class="column"><span class="current">工单信息</span></div>
		      	<table class="kv-table">
					<tbody>
						<tr>
							<td class="kv-label">车主姓名</td>
							<td class="kv-content">
								<input class="easyui-textbox" value="${order.buyerName!}" type="text" name="buyerName" style="width:166px;height:35px;line-height:35px;" />
							</td>
							<td class="kv-label">车主手机</td>
							<td class="kv-content">
								<input class="easyui-textbox" value="${order.buyerMobile!}" type="text" name="buyerMobile" style="width:166px;height:35px;line-height:35px;" />
							</td>
						</tr>
						<tr>
							<td class="kv-label">车型</td>
							<td class="kv-content">
								<input class="easyui-textbox" value="${order.buyerCarType!}" type="text" name="buyerCarType" style="width:166px;height:35px;line-height:35px;" />
							</td>
							<td class="kv-label">安装产品</td>
							<td class="kv-content">
								<input class="easyui-textbox" value="${order.buyerProduct!}" type="text" name="buyerProduct" style="width:166px;height:35px;line-height:35px;" />
							</td>
						</tr>
						<tr>
							<td class="kv-label">地址</td>
							<td class="kv-content" colspan="3">
								<input class="easyui-textbox" value="${order.buyerAddress!}" type="text" name="buyerAddress" style="width:300px;height:35px;line-height:35px;" />
							</td>
						</tr>
						<tr>
							<td class="kv-label">备注</td>
							<td class="kv-content" colspan="3">
								<input class="easyui-textbox" type="text" value="${order.buyerRemark!}" name="buyerRemark" style="width:300px;height:35px;line-height:35px;" />
							</td>
						</tr>
						<tr>
							<td class="kv-label">商家</td>
							<td class="kv-content">
								<select class="easyui-combobox" id="sellerId" name="sellerId" style="height:35px;width:166px;">
									<option value="1" <#if order.sellerId??>${(order.sellerId == 1)?string("selected","")}</#if>>3M旗舰店</option>
									<option value="2" <#if order.sellerId??>${(order.sellerId == 2)?string("selected","")}</#if>>龙膜旗舰店</option>
								</select>
							</td>
							<td class="kv-label">价格</td>
							<td class="kv-content">
								<input class="easyui-textbox" value="${order.price?string['0.00']}" type="text" name="price" style="width:166px;height:35px;line-height:35px;" />
							</td>
						</tr>
					</tbody>
				</table>
				<div class="opt-buttons">
		            <a id="submit-btn" class="easyui-linkbutton" data-options="selected:true">保存</a>
		        </div>
		      </div>
		    </div>
		    </from>
		</div>
	</div>
	<script type="text/javascript" src="${ctx}/statics/js/jquery.min.js"></script>
    <script type="text/javascript" src="${ctx}/statics/easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript">
    	$(function() {
    		$('#submit-btn').on('click', function() {
    			// 数据校验
    			$("#form0").submit();
    		});	
    	})
    </script>
</body> 
</html>
    